package com.cskaoyan.mall.dao;

import com.cskaoyan.mall.model.bo.AdminAddBO;
import com.cskaoyan.mall.model.bo.AdminChangePwdBO;
import com.cskaoyan.mall.model.sql.Admin;
import com.cskaoyan.mall.model.sql.Result;

import java.util.List;

public interface AdminDao {
    Admin login(Admin admin);

    List<Admin> allAdmins();

    void addAdminss(AdminAddBO addBO);

    void deleteAdmins(String id);

    Admin getAdminsInfo(String id);

   void updateAdminss(Admin changeBO);

    Result changePwd(AdminChangePwdBO changePwdBO);

    List<Admin> getSearchAdmins(Admin admin);
}
